//
//  URL_API.swift
//  YRProject
//
//  Created by 薛永伟 on 2019/10/15.
//  Copyright © 2019 XueYongWei. All rights reserved.
//

import Foundation


enum Item:Int {
    case a = 0
    case b = 1
}

struct YRURL {
    
    struct Tianqi {
        
        fileprivate static let base = "http://tianqi.114la.com"
        
    }
}


extension YRURL.Tianqi {
    
    struct Home {
        
        fileprivate static let base = YRURL.Tianqi.base + "/api/home/app"
        
        static let getCalendar = URL.init(string: Home.base + "/getCalendar")!
        
        
    }
    
}


extension YRAPI {
    
}
extension URL {
    
    enum Tianqi {
        
        enum Home:String {
            
            case getCalendar = "ffff"
        }
    }
}


extension URL.Tianqin {
    
    class Home:NSObject,APIUrlable {
        
        
        static func Base_URL() -> String {
            
            return URL.Tianqin.Base_URL() + "/api/home/app/"
        }
        
        
    }
}
